Xbasic

TABLES_IN_SET Function

Syntax

Output_String as C = tables_in_set(C setname [,L fully_qualified_paths ])

Arguments

setname

The name of a set. The extension ".set" is assumed.

fully_qualified_paths

Logical. Optional. Default = .F. .T. (TRUE) to display fully qualified filenames. .F. (FALSE) to show only filenames.

Description

Returns a crlf delimited string of tables in a set,

Discussion

TABLES_IN_SET() returns a CR-LF delimited list of files composing the set defined by Set_Name.

Example

tables_in_set("code",.f.)   ->   c:\databases\functions\FUNCTIONS.DBF
c:\databases\functions\METHODS.DBF
tables_in_set("code",.f.)   ->   FUNCTIONS.DBF
METHODS.DBF
tables_in_set("code")   ->   FUNCTIONS.DBF
METHODS.DBF

Limitations

Desktop applications only.

See Also